<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type"
	content="text/html; charset=windows-1255" />
<title>K-Bay :: HomePage</title>
<link rel="stylesheet" type="text/css" href="KBay.css" />
<link rel="stylesheet" type="text/css" href="styles.css" />
<script src="includeJSFiles.js"></script>
</head>
<body>
	<div class="topHeader">
		<div class="homePage">
			<img src="pics/homePageIcon.png" class="icon" title="Home Page" alt="Home Page" onclick="returnToHome()" />
		</div>
		<div class="search">
			<div class="searchContainer">
				<input type="text" id="searchtext" size="21" maxlength="120" />
			</div>
			<img id="searchButton" src="pics/search.png" class="icon" alt="Search" title="Search" onclick="search()" />
		</div>
		<div class="userDetails">
			<div class="welcome">
				<div id='displayname' class="displayName"></div>
			</div>
			<div id="loginForm">
				<form id="login" method="post" action="javascript:login();">
					<input type='text' id='userName' size='12' maxlength='120' placeholder='user name' />
					<input type='password' id='password' size='12' maxlength='120' placeholder='password' /> 
					<a href="javascript:login()" class="button">Login</a> 
				</form>
			</div>
			<img id="logoutbutton" src="pics/logoff.png" class="icon hidden" alt="Logout" title="Logout" onclick="logout()" /> 
			<div id="registerbutton" class="register">
				Not a member already? <a href="javascript:switchToRegister()">Register Now</a>
			</div>
		</div>
	</div>

<div class="commands">
 		<a href="javascript:switchToPostItem()" id="postbutton"
			title="Post Item" class="button">Post Item</a>
</div>
 
 
	<nav>
		<div id="statistics"></div>
	</nav>
	<iframe frameborder='0' scrolling='no' id='nestedpage'> </iframe>
	<section id=items>
		<div class="datagrid">
			<table>
				<tbody id=itemtsablebody>
				</tbody>
			</table>
		</div>
	</section>
	<aside id="bids">
		<div class="headerTitle">My Bids Status</div>
		<div class="datagrid">
			<table>
				<tbody id=bidstsablebody>
				</tbody>
			</table>
		</div>
	</aside>

</body>
</html>